.page-container {
    min-height: 100vh;
    background-color: #f5f5f5;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 主要内容区域 */
.main-content {
    width: 90%;
    max-width: 1800px;
    min-width: 1200px;
    padding: 5px 20px;
    display: flex;
    gap: 20px;
    margin-left: 80px;
    flex-wrap: wrap;
}

/* 左侧容器组 */
.left-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 300px;
    width: 60%;
}

/* 统计容器 */
.statistics-container {
    background: white;
    padding: 80px;
    border-radius: 4px;
    display: flex;
    gap: 20px;
}

/* 操作容器 */
.action-container {
    background: white;
    padding: 30px;
    border-radius: 4px;
    position: relative;
}

.container-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.container-title .line {
    width: 7px;
    height: 25px;
    background-color: #c62828;
    border-radius: 2px;
}

.container-title h3 {
    font-size: 25px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.action-container .stat-box {
    margin-top: 10px;
}

/* 右侧饼图容器 */
.right-container {
    width: 40%;
    min-width: 580px;
    background: white;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.pie-chart-container {
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.chart-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
}

.total-proposals {
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 使其真正居中 */
    font-size: 18px; /* 字体大小可以根据需要调整 */
    color: #333; /* 字体颜色可以根据需要调整 */
    text-align: center; /* 文本居中对齐 */
}

.total-proposals p {
    font-size: 18px; /* 标题字体大小 */
    color: #333; /* 标题颜色 */
    margin: 0; /* 去掉默认的外边距 */
}

.total-proposals .number {
    font-size: 36px; /* 数字字体大小 */
    font-weight: bold; /* 加粗 */
    margin-top: 5px; /* 数字与标题之间的间距 */
}

/* 底部容器 */
.trend-container {
    width: 87.6%;
    max-width: 1800px;
    min-width: 1160px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 4px;
}

/* 管理区域样式 */
.management-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stat-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.line {
    width: 4px;
    height: 20px;
    background-color: #c62828;
    border-radius: 2px;
}

.stat-title h3,
.trend-title h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 趋势图头部样式 */
.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.trend-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend-actions {
    display: flex;
    gap: 10px;
}

/* 其他样式保持不变 */
.stat-box {
    flex: 1;
}

.stat-label {
    font-size: 30px;
    color: #000000;
    margin-bottom: 10px;
}

.stat-value {
    display: flex;
    align-items: baseline;
}

.number {
    font-size: 65px;
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.number.green {
    color: #67c23a;
}

.number.red {
    font-size: 40px;
    color: #cf0303;
}

.unit {
    margin-left: 10px;
    font-size: 26px;
    color: #000000;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start;
}

.action-btn {
    font-size: 18px;
    width: calc(33.33% - 14px);
    min-width: 180px;
    height: 40px;
    border-radius: 10px;
    margin: 0;
}

.trend-chart {
    width: 100%;
    height: 300px;
    position: relative;
}

:deep(.el-button--danger) {
    --el-button-bg-color: #c62828;
    --el-button-border-color: #c62828;
    --el-button-hover-bg-color: #d32f2f;
    --el-button-hover-border-color: #d32f2f;
}

/* 标题样式 */
.stat-title,
.trend-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.line {
    width: 6px;
    height: 20px;
    background-color: #c62828;
    border-radius: 2px;
}

.stat-title h3,
.trend-title h3 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* 修改 action-container 的内边距 */
.action-container .stat-value {
    margin-top: 15px;
}

@media screen and (max-width: 1400px) {
    .main-content {
        margin-left: 40px;
    }
    
    .right-container {
        min-width: 500px;
    }

    .trend-container {
        width: 80%;
        min-width: 1000px;
    }
}

@media screen and (max-width: 1200px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        margin-left: 20px;
    }
    
    .left-container,
    .right-container {
        width: 100%;
        min-width: auto;
    }
    
    .right-container {
        height: auto;
        min-height: 400px;
    }

    .trend-container {
        width: 95%;
        min-width: auto;
        margin: 20px 10px;
    }

    .trend-chart {
        min-height: 250px;
    }
}

